package com.ohuang.wallpapermanager.data

import kotlinx.serialization.Serializable


@Serializable
data class WallPaperInfoData(
    var id: Long =0L,
    var filePath: String = "",
    val timeRule: WallPaperInfoTimeRuleData = WallPaperInfoTimeRuleData(),
    val isForceShow:Boolean=true
)
@Serializable
data class WallPaperInfoTimeRuleData(
    val timeFrame: TimeFrameData = TimeFrameData(),
    val week: WallPaperInfoWeekData=WallPaperInfoWeekData()
)
@Serializable
data class TimeFrameData(
    val antTimeFrame: Boolean = true,
    val startTime: TimeData = TimeData(),
    val endTime: TimeData = TimeData()
)
@Serializable
data class TimeData(val hour: Int = 0, val minute: Int = 0)

@Serializable
data class WallPaperInfoWeekData(
    val anyDay: Boolean = true,
    val weekDayList: MutableList<Int> = ArrayList(),
)